package com.hpjpw.ido.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 简历投递记录对象 ido_resume_received
 * 
 * @author hpj
 * @date 2021-04-17
 */
@ApiModel("ResumeReceivedDomain")
public class ResumeReceived extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 简历投递记录id */
    @ApiModelProperty("${comment}")
    private String id;

    /** 投递者id */
    @Excel(name = "投递者id")
    @ApiModelProperty("投递者id")
    private Long applyId;

    /** 目标企业 */
    @Excel(name = "目标企业")
    @ApiModelProperty("目标企业")
    private Long enterpriseId;

    /** 简历id */
    @Excel(name = "简历id")
    @ApiModelProperty("简历id")
    private Long resumeId;

    /** 投递时间 */
    @JsonFormat(locale="zh", timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "投递时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("投递时间")
    private Date time;

    /** 投递状态: 0 表示已投递, 1,已采纳  2,已拒绝 */
    @Excel(name = "投递状态: 0 表示已投递, 1,已采纳  2,已拒绝")
    @ApiModelProperty("投递状态: 0 表示已投递, 1,已采纳  2,已拒绝")
    private Long state;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setApplyId(Long applyId) 
    {
        this.applyId = applyId;
    }

    public Long getApplyId() 
    {
        return applyId;
    }
    public void setEnterpriseId(Long enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId() 
    {
        return enterpriseId;
    }
    public void setResumeId(Long resumeId) 
    {
        this.resumeId = resumeId;
    }

    public Long getResumeId() 
    {
        return resumeId;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applyId", getApplyId())
            .append("enterpriseId", getEnterpriseId())
            .append("resumeId", getResumeId())
            .append("time", getTime())
            .append("state", getState())
            .toString();
    }
}
